package com.jxtc.enterprise.common.constants;

import lombok.Getter;

/**
 * order_payment 表中 batch_printed 字段数字与含义映射枚举
 */
@Getter
public enum BatchPrintEnum {

    /**
     * Company 表中设置了一单已打印，当前 batch_printed 数据为无效数据
     */
    ONLY_SINGLE_PRINT_SUPPORT(-1, "不支持批量打印"),
    /**
     * 已完成批量打印
     */
    BATCH_PRINTED(1, "已批量打印"),
    /**
     * 未完成批量打印
     */
    NOT_BATCH_PRINTED(2, "未批量打印");

    private final Integer value;
    private final String name;

    BatchPrintEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }
}
